import 'package:net/http/dao/account_dao.dart';

// 常量
class HiConstans {
  static String authTokenK = 'auth-token';
  static String authTokenV = 'ZmEtMjAyMS0wNC0xMiAyMToyMjoyMC1mYQ==fa';
  static String courseFlagK = 'course-flag';
  static String courseFlagV = 'fa';
  static String theme = 'hi_theme';
  static headers() {
    // 设置请求校验，注意留意console的log输出：flutter:received；
    Map<String, dynamic> header = {
      HiConstans.authTokenK: HiConstans.authTokenV,
      HiConstans.courseFlagK: HiConstans.courseFlagV,
    };
    header[LoginDao.BOARDING_PASS] = LoginDao.getBoardingPass();
    return header;
  }
}
